﻿using RRKAutohaus.Core.EntityFramework;
using RRKAutohaus.Core.Repositories;
using RRKAutohaus.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Breeze.WebApi;

namespace RRKAutohaus.Core
{
    public interface IUnitOfWork
    {
        void Commit();
        void RollBack();
        EFContextProvider<RRKAutohausDbContext> DbContext { get; }
        ICarRepository Cars { get; }
        IRepository<Image> Image { get; }

    }
}
